]> dgit.raspbian.org Git - gnome-shell.git/commit
polkitAgent: Destroy session from dialogue closed handler
authorPhilip Withnall <withnall@endlessm.com>
Mon, 21 Jan 2019 18:11:59 +0000 (18:11 +0000)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 24 Jan 2019 14:48:48 +0000 (14:48 +0000)
commit081d94e0f680578d4d53229c96aff83eff1fcbc2
treee4053531d2a8d6fa749187ed8346ba56e17d0aaa
parentddd182516208353e3e6969e2e27ac0670436d748
polkitAgent: Destroy session from dialogue closed handler

Rather than explicitly destroying the session after calling close(),
destroy it from the `closed` signal handler.

This also means we can make the method internal.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/357
js/ui/components/polkitAgent.js